//调用接口配置文件
import { request } from 'config/request'
import Config from 'config/config'
//获取商品列表
export async function getList (params) {
  return request({
    url: 'admin/cooper/list',
    // url: 'admin/org/queryOrgByName',
    method: 'POST',
    headers: {
      'Content-type': 'application/json'
    },
    data: params
  })
}

//导出
export async function exportList (params) {
  return request({
    url: `admin/cooper/export`,
    method: 'POST',
    headers: {
      'Content-type': 'application/x-www-form-urlencoded'
    },
    data:params,
    reqTimeout:2400000
  })
}
